/**
 * 
 */
package com.kinglian.learn.reservation;

import com.kinglian.learn.reservation.dao.ReserveDao;

/**
 * @author kinglian
 *
 */
public class ReserveServiceIm1 implements ReserveService {
	
	private ReserveDao resDao;
	private UserService userService;
	
	public ReserveServiceIm1(ReserveDao rdao)
	{
		this.resDao = rdao;
	}
	
	public void setUserService(UserService uservice) {
		this.userService = uservice;
	}

	/* (non-Javadoc)
	 * @see com.kinglian.learn.reservation.ReserveService#createServer(com.kinglian.learn.reservation.Server)
	 */
	@Override
	public int createServer(Server server) {
		// TODO Auto-generated method stub
		return 0;
	}

	/* (non-Javadoc)
	 * @see com.kinglian.learn.reservation.ReserveService#deleteServer(int)
	 */
	@Override
	public void deleteServer(int serverID) {
		// TODO Auto-generated method stub

	}

	/* (non-Javadoc)
	 * @see com.kinglian.learn.reservation.ReserveService#getServer(int)
	 */
	@Override
	public Server getServer(int serverID) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see com.kinglian.learn.reservation.ReserveService#releaseServer(com.kinglian.learn.reservation.User, com.kinglian.learn.reservation.Server)
	 */
	@Override
	public void releaseServer(User user, Server server) {
		// TODO Auto-generated method stub

	}

	/* (non-Javadoc)
	 * @see com.kinglian.learn.reservation.ReserveService#reserveServer(com.kinglian.learn.reservation.User, com.kinglian.learn.reservation.Server)
	 */
	@Override
	public void reserveServer(User user, Server server) {
		// TODO Auto-generated method stub

	}

}
